package com.panshi.pojo;

import io.swagger.annotations.ApiModel;

import java.io.Serializable;
import java.util.Date;

@ApiModel("轮播图实体类")
public class Slideshow implements Serializable {
    private Integer sid;
    private String title;
    private String path;
    private Date createDate;
    private String name;

    public Slideshow() {
    }

    public Slideshow(Integer sid, String title, String path, Date createDate, String name) {
        this.sid = sid;
        this.title = title;
        this.path = path;
        this.createDate = createDate;
        this.name = name;
    }

    @Override
    public String toString() {
        return "Slideshow{" +
                "sid=" + sid +
                ", title='" + title + '\'' +
                ", path='" + path + '\'' +
                ", createDate=" + createDate +
                ", name='" + name + '\'' +
                '}';
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
